<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\JobController;
use App\Http\Controllers\addresscontroller\AddressController;

// 地址管理
Route::prefix('api')->middleware('auth')->group(function () {
    Route::delete('/address', [AddressController::class, 'deleteAddress']);
    Route::get('/address', [AddressController::class, 'addressList']);
    Route::post('/address', [AddressController::class, 'addressSave']);
});
